#include "EpilFunctionCallStatementCode.h"
#include "EpilOutputHelper.h"
#include "TCharSupport.h"
#include "EpilPointerHelper.h"


EpilFunctionCallStatementCode::EpilFunctionCallStatementCode( const EpilLexLocation & location )
: EpilStatementCodeBase( location )
, m_expression( NULL )
{
}


EpilFunctionCallStatementCode::~EpilFunctionCallStatementCode()
{
	EpilPointerHelper::SafeDelete( m_expression );
}


void EpilFunctionCallStatementCode::Run() const
{
}


tstring EpilFunctionCallStatementCode::ToEpilCode( int indent ) const
{
	tstringstream ret;
	ret << EpilOutputHelper::GetIndent( indent );
	ret << m_expression->ToEpilCode();
	return ret.str();
}